<template>
	<view class="content">
		<view class="aboutUs">
			<u-parse :content="content"></u-parse>
		</view>
	</view>
</template>

<script>
	import { getStandDetail } from '@/api/login.js';
	export default {
		data() {
			return {
				content: ''
			}
		},
		onLoad(opt) {
			this.getDetail(opt.idd);
		},
		methods: {
			getDetail(idd) {
				getStandDetail({id:idd}).then(res=>{
					if(res.code == 200) {
						this.content = res.data.contextObjList[0].content;
						uni.setNavigationBarTitle({
							title: res.data.serverContextName + '详情'
						});
					} else {
						uni.$u.toast(res.msg);
					}
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
.content{
	padding:28rpx 24rpx 24rpx;
	.aboutUs{
		@include baseFont(28rpx,#4C4C4C,44rpx);
	}
}
</style>
